package com.labofjet.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class TestAspect {
    @Around(value = "execution(* com.labofjet.web.ContextDTO.*(..))")
    public Object testAround(ProceedingJoinPoint pjp) throws Throwable{
        System.out.println("456");
        Object obj = pjp.proceed();
        return obj;
    }
}

